home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / c / cenvid9.zip / WAIT.BAT < prev    next >
DOS Batch File  |  1994-03-04  |  808b  |  16 lines

  1. @echo OFF
  2. REM **************************************************************************
  3. REM *** Wait.bat - Wait for a specified number of seconds before returing. ***
  4. REM *** ver.1      No check is done on the input being valid.              ***
  5. REM ***            This example would wait ten seconds: " Wait 10"         ***
  6. REM **************************************************************************
  7.  
  8. CEnvi " start=time(); while( difftime(time(),start) < %1 ) ; "
  9.  
  10. REM ********************************************************************
  11. REM *** The following method would have been an easier way to wait   ***
  12. REM *** the same amount of time, but it wouldn't have been such fun. ***
  13. REM ********************************************************************
  14.  
  15. REM CEnvi suspend(%1 * 1000)
  16.